package com.learn.plugin;

import org.gradle.api.Plugin;
import org.gradle.api.Project;

/**
 * Created by Nicky.Tang on 2021/3/22 11:10 下午
 *
 * @since 02.12.10
 */
public class MyPluginOfBuildSrcTest implements Plugin<Project> {
    @Override
    public void apply(Project project) {
        System.out.println(">>>>>>>>>>>>> init /gradle-group/buildSrc/src/main/java/com.learn.plugin.MyPluginOfBuildSrcTest.java");
        project.task("task_of_buildsrc",item->{
            System.out.println("MyPluginOfBuildSrcTest.task_of_buildsrc");

        });
    }
}
